class EmailAsynJob < ActiveJob::Base
  queue_as :default

  # queue_as :email
  # def perform(*args)
  #   # Do something later
  # end
  def perform(user)
    BillsMail.welcome_email(user).deliver_now
    Rails.logger.debug "send mails success!"
  end
end
